Optimal. Leaf size=88 \[ \frac {\sqrt {e} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {e x}}{\sqrt {a} \sqrt {e}}\right )}{\sqrt {a} b^{3/2} c}-\frac {\sqrt {e} \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {e x}}{\sqrt {a} \sqrt {e}}\right )}{\sqrt {a} b^{3/2} c} \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.192, Rules used = {73, 329, 298, 205, 208} \begin {gather*} \frac {\sqrt {e} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {e x}}{\sqrt {a} \sqrt {e}}\right )}{\sqrt {a} b^{3/2} c}-\frac {\sqrt {e} \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {e x}}{\sqrt {a} \sqrt {e}}\right )}{\sqrt {a} b^{3/2} c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 73
Rule 205
Rule 208
Rule 298
Rule 329
Rubi steps
\begin {align*} \int \frac {\sqrt {e x}}{(a+b x) (a c-b c x)} \, dx &=\int \frac {\sqrt {e x}}{a^2 c-b^2 c x^2} \, dx\\ &=\frac {2 \operatorname {Subst}\left (\int \frac {x^2}{a^2 c-\frac {b^2 c x^4}{e^2}} \, dx,x,\sqrt {e x}\right )}{e}\\ &=\frac {e \operatorname {Subst}\left (\int \frac {1}{a e-b x^2} \, dx,x,\sqrt {e x}\right )}{b c}-\frac {e \operatorname {Subst}\left (\int \frac {1}{a e+b x^2} \, dx,x,\sqrt {e x}\right )}{b c}\\ &=-\frac {\sqrt {e} \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {e x}}{\sqrt {a} \sqrt {e}}\right )}{\sqrt {a} b^{3/2} c}+\frac {\sqrt {e} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {e x}}{\sqrt {a} \sqrt {e}}\right )}{\sqrt {a} b^{3/2} c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 63, normalized size = 0.72 \begin {gather*} \frac {\sqrt {e x} \left (\tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a}}\right )-\tan ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {a}}\right )\right )}{\sqrt {a} b^{3/2} c \sqrt {x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.06, size = 88, normalized size = 1.00 \begin {gather*} \frac {\sqrt {e} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {e x}}{\sqrt {a} \sqrt {e}}\right )}{\sqrt {a} b^{3/2} c}-\frac {\sqrt {e} \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {e x}}{\sqrt {a} \sqrt {e}}\right )}{\sqrt {a} b^{3/2} c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.71, size = 193, normalized size = 2.19 \begin {gather*} \left [\frac {2 \, \sqrt {\frac {e}{a b}} \arctan \left (\frac {\sqrt {e x} a \sqrt {\frac {e}{a b}}}{e x}\right ) + \sqrt {\frac {e}{a b}} \log \left (\frac {b e x + 2 \, \sqrt {e x} a b \sqrt {\frac {e}{a b}} + a e}{b x - a}\right )}{2 \, b c}, -\frac {2 \, \sqrt {-\frac {e}{a b}} \arctan \left (\frac {\sqrt {e x} a \sqrt {-\frac {e}{a b}}}{e x}\right ) - \sqrt {-\frac {e}{a b}} \log \left (\frac {b e x - 2 \, \sqrt {e x} a b \sqrt {-\frac {e}{a b}} - a e}{b x + a}\right )}{2 \, b c}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.92, size = 63, normalized size = 0.72 \begin {gather*} -{\left (\frac {\arctan \left (\frac {b \sqrt {x} e^{\frac {1}{2}}}{\sqrt {-a b e}}\right ) e^{2}}{\sqrt {-a b e} b c} + \frac {\arctan \left (\frac {b \sqrt {x}}{\sqrt {a b}}\right ) e^{\frac {3}{2}}}{\sqrt {a b} b c}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 59, normalized size = 0.67 \begin {gather*} \frac {e \arctanh \left (\frac {\sqrt {e x}\, b}{\sqrt {a b e}}\right )}{\sqrt {a b e}\, b c}-\frac {e \arctan \left (\frac {\sqrt {e x}\, b}{\sqrt {a b e}}\right )}{\sqrt {a b e}\, b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.39, size = 87, normalized size = 0.99 \begin {gather*} -\frac {\frac {2 \, e^{2} \arctan \left (\frac {\sqrt {e x} b}{\sqrt {a b e}}\right )}{\sqrt {a b e} b c} + \frac {e^{2} \log \left (\frac {\sqrt {e x} b - \sqrt {a b e}}{\sqrt {e x} b + \sqrt {a b e}}\right )}{\sqrt {a b e} b c}}{2 \, e} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.14, size = 53, normalized size = 0.60 \begin {gather*} -\frac {\sqrt {e}\,\mathrm {atan}\left (\frac {\sqrt {b}\,\sqrt {e\,x}}{\sqrt {a}\,\sqrt {e}}\right )-\sqrt {e}\,\mathrm {atanh}\left (\frac {\sqrt {b}\,\sqrt {e\,x}}{\sqrt {a}\,\sqrt {e}}\right )}{\sqrt {a}\,b^{3/2}\,c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 2.39, size = 170, normalized size = 1.93 \begin {gather*} \begin {cases} - \frac {\sqrt {e} \sqrt {x}}{a b c} + \frac {\sqrt {e} \operatorname {acoth}{\left (\frac {\sqrt {a}}{\sqrt {b} \sqrt {x}} \right )}}{\sqrt {a} b^{\frac {3}{2}} c} + \frac {\sqrt {e} \operatorname {atan}{\left (\frac {\sqrt {a}}{\sqrt {b} \sqrt {x}} \right )}}{\sqrt {a} b^{\frac {3}{2}} c} & \text {for}\: \left |{\frac {a}{b x}}\right | > 1 \\- \frac {\sqrt {e} \sqrt {x}}{a b c} + \frac {\sqrt {e} \operatorname {atan}{\left (\frac {\sqrt {a}}{\sqrt {b} \sqrt {x}} \right )}}{\sqrt {a} b^{\frac {3}{2}} c} + \frac {\sqrt {e} \operatorname {atanh}{\left (\frac {\sqrt {a}}{\sqrt {b} \sqrt {x}} \right )}}{\sqrt {a} b^{\frac {3}{2}} c} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________